-
Notifications
You must be signed in to change notification settings - Fork 1.3k
EHN add support for some Keras utilities #409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EHN add support for some Keras utilities #409
Conversation
Codecov Report
@@ Coverage Diff @@
## master #409 +/- ##
==========================================
+ Coverage 98.75% 98.77% +0.01%
==========================================
Files 70 75 +5
Lines 4268 4410 +142
==========================================
+ Hits 4215 4356 +141
- Misses 53 54 +1
Continue to review full report at Codecov.
|
Hello @glemaitre! Thanks for updating the PR.
Comment last updated on August 22, 2018 at 09:46 Hours UTC |
@jorisvandenbossche I think that it could be of interest. Let me know if the API make sense to you. |
imblearn/keras/generator.py
Outdated
except ImportError: | ||
# Skip the tests for the examples | ||
import pytest | ||
keras = pytest.importorskip('keras') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line in my box generates the following error:
Skipped: could not import 'keras'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wanted to use it to skip the test of the docstring but probably there is something better to do then.
Otherwise does it look ok |
8c4c344
to
c056567
Compare
765dc8a
to
324b90c
Compare
This PR attend to provide some utilities for keras:
TODO:
sample
)